package com.suoluo.zenapp.common;

public class CommonResp {

	public static String SUCCESS_CODE = "00000000";

	public static String FAIL_CODE = "11111111";

	private String resultCode;
	private String resultMsg;

	public static CommonResp SUCCESS = new CommonResp(SUCCESS_CODE, "操作成功");

	public static CommonResp FAIL = new CommonResp(FAIL_CODE, "操作失败");

	public CommonResp() {
		this.resultCode = SUCCESS_CODE;
	}

	public CommonResp(String resultCode, String resultMsg) {
		super();
		this.resultCode = resultCode;
		this.resultMsg = resultMsg;
	}

	public String getResultCode() {
		return resultCode;

	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

}
